package com.rd.teacher.jichao.day19;

public class Coffee extends Drink {

    // 将饮品本身的价格作为花费
    @Override
    public double cost() {
        return super.getPrice();
    }
}
